package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SchemaCharacterSetOrPath {

    private int beginIndex;
    private int endIndex;
    private ShemaCharacterSetSpecification shemaCharacterSetSpecification;
    private PathSpecification schemaPathSpecification;

    public SchemaCharacterSetOrPath(int beginIndex,
                                    int endIndex,
                                    ShemaCharacterSetSpecification shemaCharacterSetSpecification,
                                    PathSpecification schemaPathSpecification) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.shemaCharacterSetSpecification = shemaCharacterSetSpecification;
        this.schemaPathSpecification = schemaPathSpecification;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public ShemaCharacterSetSpecification getShemaCharacterSetSpecification() {
        return shemaCharacterSetSpecification;
    }

    public PathSpecification getSchemaPathSpecification() {
        return schemaPathSpecification;
    }

}
